#pragma once
#include <iostream>
#include <cstdlib>
#include <boost\asio.hpp>
#include <boost\thread.hpp>
#include <string>

using boost::asio::ip::tcp;
using namespace boost;
using namespace std;

class ConnectionControl
{
	tcp::socket* socket;
public:
	ConnectionControl(tcp::socket* s);
	~ConnectionControl(void);
	void run();
};

